#! /bin/sh

pgrep -x sxhkd > /dev/null || sxhkd &

bspc monitor -d Chat Games Web Files Misc

bspc config border_width         2
bspc config window_gap          10

bspc config split_ratio          0.52
bspc config borderless_monocle   true
bspc config gapless_monocle      true

bspc rule -a Gimp desktop='^8' state=floating follow=on
bspc rule -a Chromium desktop='^2'
bspc rule -a mplayer2 state=floating
bspc rule -a Kupfer.py focus=on
bspc rule -a Screenkey manage=off

#Autostart
picom --config ~/.config/bspwm/picom.conf &
feh --bg-fill ~/.config/bspwm/wallpaper/back.png &
#setxkbmap -layout fr -variant azerty &
dunst &
flameshot &
kmix &
$HOME/.config/polybar/launch.sh &
